TEMPLATE = app

QT += qml quick widgets
QT += multimedia multimediawidgets

TARGET = androidDemoCamera

SOURCES += main.cpp \
    logfile.cpp \
    qmlobjecttest.cpp \
    qdebug2logcat.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Default rules for deployment.
include(deployment.pri)

HEADERS += \
    logfile.h \
    qmlobjecttest.h \
    qdebug2logcat.h \


android-g++{
    QT += androidextras

    DISTFILES += \
        android/AndroidManifest.xml \
        android/gradle/wrapper/gradle-wrapper.jar \
        android/gradlew \
        android/res/values/libs.xml \
        android/build.gradle \
        android/gradle/wrapper/gradle-wrapper.properties \
        android/gradlew.bat \
        android/src/an/qt/useJar/ExtendsQtNative.java \
        android/src/an/qt/useJar/ExtendsQtWithJava.java

    ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android

    HEADERS += \
        android/log.h \
        mycommon.h

    SOURCES += \
        mycommon.cpp

}

